<?php

$sender = $_GET['Email'];
$subject = $_GET['Subject'];
$message = $_GET['Message'];

echo "email = " . $sender;
echo "subject = " . $subject;
echo "message = " . $message;


$to = 'JesseMilan@gmail.com';
//$to = 'JesseMilan@gmail.com';
//$subject = 'Contact from JesseMilan.com';

$headers = 'From: Contact from JesseMilan.com <' . $sender . '>' . "\r\n";
$headers .= "Reply-To: ". $sender . "\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";

//$message = stripslashes($_GET['message']);

mail($to, $subject, $message, $headers);

//echo json_encode(array('message'=>$message));

?>